package com.dragon.mmochat.message;

import com.dragon.mmochat.MmochatConstant;
import com.skymobi.buffer.SkymobiBuffer;
import com.skymobi.message.SkymobiProtocolMessage;

public class Mmochat_12_23S extends SkymobiProtocolMessage {
	int hallState;

	public Mmochat_12_23S() {
		setMsgCode(MmochatConstant.MSGCODE_MMOCHAT_S_12_23);
	}

	@Override
	protected void encodeBody(SkymobiBuffer out) {
		out.putUnsignedShort(hallState);
	}

	public void setHallState(int hallState) {
		this.hallState = hallState;
	}

}
